def generator1():                                  #  1
    yield 1                                        #  2
    yield 2                                        #  3
    yield 3                                        #  4
                                                   #  5
def generator2():                                  #  6
    print(sum((x ** x for x in range(1, 4))))      #  7
                                                   #  8
if __name__ == "__main__":                         #  9
    '''                                            # 10
    for i in generator1():                         # 11
      print(i)                                     # 12
                                                   # 13
    '''                                            # 14
                                                   # 15
                                                   # 16
